package com.situ.feemanagement.service;

import com.situ.feemanagement.pojo.Medicine;
import com.situ.feemanagement.pojo.query.MedicineQuery;
import com.situ.feemanagement.pojo.vo.InventoryVO;
import com.situ.feemanagement.pojo.vo.MedicineVO;
import com.situ.feemanagement.util.PageResult;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;

public interface IMedicineService {

    List<Medicine> selectAll();

    PageResult<MedicineVO> selectByPage(MedicineQuery medicineQuery);

    void deleteById(int id);

    void deleteAll(String[] ids);

    void add(Medicine medicine);

    Medicine selectById(int id);

    void update(Medicine medicine);

    List<InventoryVO> selectQuantity(int id);

    void importExcel(HttpServletRequest request);

    void exportExcel(HttpServletResponse response);
}
